import Vue from 'vue'
import VueRouter from 'vue-router'
import HomeView from '../views/DashBoard.vue'
import LoginIndex from '../views/LoginIndex.vue'
import PeopleIndex from '../views/PeopleIndex.vue'
import LuckDraw from '../views/LuckDraw.vue'
Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'home',
    component: HomeView
  },

  {
    path: '/login',
    name: 'home',
    component: LoginIndex
  },
  {
    path: '/LuckDraw',
    name: 'home',
    component: LuckDraw
  },
  {
    path: '/people',
    name: 'home',
    component: PeopleIndex
  }
]

const router = new VueRouter({
  routes
})

export default router
